class PointConfig < ActiveRecord::Base
  # PointConfig['your_config'] =>  nil or point
  def self.[](config_name)
    find_by_name(config_name).try :point
  end
end
